﻿<%@ Page Title="" Language="C#" MasterPageFile="~/__Page.master" AutoEventWireup="true" CodeBehind="Search.aspx.cs" Inherits="simpleHotel.Web.Search" %>
<asp:Content ID="Content1" ContentPlaceHolderID="placeCenterContent" runat="server">
    <div class="roomCancellation">
	    <div class="content">
            <h3><asp:Literal ID="Literal1" runat="server" Text="<%$Resources:Resource, searchMainMenu%>"/></h3>
		    <div>
                	<table align="center">
                        <tr>
							<td><asp:Label ID="Label1" CssClass="contact" runat="server" Text="<%$Resources:Resource, contactFullName%>"/></td>
							<td><asp:TextBox ID="txtName" Width="250" runat="server"></asp:TextBox> </td>
                        </tr>
                        <tr>
							<td ><asp:Label ID="Label2" CssClass="contact" runat="server" Text="<%$Resources:Resource, SSN%>"/></td>
							<td ><asp:TextBox ID="TextBox1" Width="250" runat="server"></asp:TextBox></td>
                        </tr>
                        <tr>
							<td ><asp:Label ID="Label5" CssClass="contact" runat="server" Text="<%$Resources:Resource, roomCancellation_roomCode%>"/></td>
							<td ><asp:TextBox ID="TextBox4" Width="250" runat="server"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td></td>
                            <td colspan="3" align="left">
                                <asp:Button ID="ctrlButtonSearch" CssClass="support-button" runat="Server" Text="<%$Resources:Resource, search%>" OnClick="ctrlButtonSearch_Click"/>
                            </td>
                        </tr>
                	</table>
                
		    </div>
                <asp:GridView ID="gvProducts" runat="server" AutoGenerateColumns="False" 
                    DataKeyNames="ProductID" Width="100%" AllowPaging="True" PageSize="10" 
                    CellPadding="4" 
                    ForeColor="#333333" GridLines="None"
                   >
                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <Columns>
                    <asp:TemplateField HeaderText="Tên" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" SortExpression="CateID">
                        <ItemTemplate>
                            <asp:Label ID="Label2" runat="server" Text='<%# Eval("ProductID") %>'></asp:Label>
                        </ItemTemplate> 
                    </asp:TemplateField> 
                                       
                    <asp:TemplateField HeaderText="Mã đơn hàng" ItemStyle-Width="20%" ItemStyle-HorizontalAlign="Center">                      
                        <ItemTemplate>  
                            <asp:Label ID="Label3" runat="server" Text='<%# Eval("ProTitle") %>'></asp:Label>   
                        </ItemTemplate>
                    </asp:TemplateField>

                    <asp:TemplateField HeaderText="Số tiền" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Center" >
                        <ItemTemplate>
                            <asp:Label ID="lblAmount" runat="server" Text='<%# Eval("Amount") %>'></asp:Label> 
                        </ItemTemplate>
                    </asp:TemplateField>
                    
                    <asp:TemplateField HeaderText="Khách sạn" HeaderStyle-HorizontalAlign="Center" >
                        <ItemTemplate>
                            <asp:Label ID="lblDescription" runat="server" Text='<%# Eval("Description") %>'></asp:Label> 
                        </ItemTemplate>
                    </asp:TemplateField>

                    <asp:TemplateField HeaderText="Từ ngày" HeaderStyle-HorizontalAlign="Center" >
                        <ItemTemplate>
                            <asp:Label ID="lblDescription" runat="server" Text='<%# Eval("Description") %>'></asp:Label> 
                        </ItemTemplate>
                    </asp:TemplateField>
                    
                    <asp:TemplateField HeaderText="Đến ngày" HeaderStyle-HorizontalAlign="Center" >
                        <ItemTemplate>
                            <asp:Label ID="lblDescription" runat="server" Text='<%# Eval("Description") %>'></asp:Label> 
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                <HeaderStyle BackColor="#5D7B9D" Height="30px" Font-Bold="True" ForeColor="White" />
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
            </asp:GridView>
            <div>
                
            </div>
	    </div>
    </div>
</asp:Content>
